home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / cdrom / cdplay.zip / PLAYHELP.DOC < prev    next >
Text File  |  1989-07-18  |  14KB  |  332 lines

  1.         Forthplay and Romplay Documentation and Comments
  2.                          Date:  09Jul89
  3.  
  4. If you have this file, you should also have copies of
  5. ROMPLAY.BAS, ROMPLAY2.BAS, ROMPLAY3.BAS, and 4THPLAY.COM,
  6. CD-Audio players for the Hitachi CDR1503S or CDR3500 CD-ROM
  7. Drives and PC bus interface cards.
  8.  
  9. Use Romplay & Romplay3 for keyboards with function keys across
  10. the top (enhanced layout).  Romplay2 is better for the original
  11. keyboard.  Romplay is intended for those times you want to do
  12. something other than compute.  Forthplay is better for starting
  13. play or checking a drive.
  14.  
  15. Required:
  16.  
  17. Hitachi CDR1503S, CDR3500, or 100% compatible CD-ROM
  18.      drive.
  19. Hitachi PC bus interface card: CDIFI2, CDIFI3A, CDIFI4, CDIFI4A,
  20.      CDIF25A, CDIF25A2, or CDIF35A
  21.  
  22. 300H base address for Forthplay, Romplay base is changeable (see
  23.      line 10010).
  24.  
  25. For Romplay, GWBASIC (Non-IBM, about 80K file size), or the
  26. BASICA version for IBM, (if you really have an IBM), or with
  27. Tandy & Compaq, the BASICA version with Tandy or Compaq MS-DOS.
  28.  
  29. On a monochrome system, you will need to edit the program colors
  30. and may need to change some color indicators and graphics
  31. chracters.  First try changing the colors defined around 10000. 
  32. Blue/green paper must black, tip colors set to white/lwhite.  It
  33. may be less trouble to use Forthplay and auto.
  34.  
  35. Romplay Functions:
  36.  
  37.      E     Eject Disc
  38.      A     Accept Disc - Close Tray when present and open
  39.      S     Sample first 17 seconds of each track
  40.      P     Play - Start to End, Next Que, or Section Repeat
  41.    <   >   Reverse/Forward 1 Track    -  ,  .
  42.  <<<   >>> Reverse/Forward 1 minute   -  {  }
  43.   <<   >>  Reverse/Forward 10 seconds -  [  ]
  44.      N     Number Play - Enter Start & End track numbers
  45.   ------   Spacebar toggles Pause On/Off - clears modes
  46.      C     Cue to start of current track or release cue/pause
  47.      Q     Quit - Immediately go to DOS with clear screen
  48.     1-9    First digit of number play entry sequence
  49.      R     Repeat Play from Starting to Ending Track
  50.      T     Toggle Que On/Off for use at next Play or end
  51.               of current play
  52.      B     Begin - Mark currently played location for Section    
  53.               Play
  54.      F     Finish - Section Play end - enable mode for play
  55.               (Must be greater than Begin location) (Press Play
  56.               to start Section Play - Space Bar to exit)
  57.      M     Manage Que - set mode for Que functions
  58.      /     Shuffle Play (Makes new random shuffled Que and plays)
  59.      D     Drive (0-3) - Select CD-ROM drive for program
  60.  
  61. Manage Que Functions:
  62.  
  63.    < >   StepQue - Rotate stack of Que entries
  64.     F    Fill Que with all tracks in reverse order
  65.     C    Clear Que to 0 entries
  66.     S    Shuffle all Que entries
  67.     I    Insert number into current bottom of Que  (prompt)
  68.    1-9   First digit of insert  - before prompt
  69.     D    Delete number from Que (prompt)
  70.     T    Toggle Que Mode - Manage or normal modes
  71.  
  72. Notes: Spacebar or Return/Enter accepts digits when valid
  73.      Enter 0 to cancel number delete or insert
  74.      When digits expected - only digits accepted
  75.      Spacebar or other keys will exit Manage mode
  76.     < > StepQue operates from keyboard when Que is on
  77.  
  78.  
  79. Slide Cue Time Scale Operation and Use:
  80.  
  81. The time scale shows the current minute position and relative
  82.    time remaining.
  83.  
  84. It can be used to cue directly to any minute of the disc using
  85.    the cursor keys.
  86.  
  87. Cursor left/right - Slide reverse/forward 1 minute
  88. Cursor up         - Move laser to selected minute and read
  89.                        time/track code
  90. Cursor down       - Play to end of disc from selected location
  91.  
  92. The normal program mode is automatic repeat play of the entire
  93. disc from start to finish.  This mode is active when other modes
  94. are clear.  When another mode is selected, prior modes are
  95. cleared.  Pause, or skip functions clear other modes, and restore
  96. play to end operation.
  97.  
  98. When the program is run, it checks to see if a I/F card is
  99. installed at the address. If card/drive isn't there, it will list
  100. line 10010 for editing.  PRTA=&H300 is the base address for Port
  101. A on the card.  If something else uses the address, it should not
  102. answer drive commands in the next step.  Then the program trys a
  103. drive command to see if a drive answers.  If no answer, changes
  104. the drive number and trys again.  When no drive answers, decides
  105. the user forgot to turn it on, and waits to rerun.
  106.  
  107. The program updates the screen times, watches for end of play, a
  108. keypress,  or change in drive status, until something happens.
  109.  
  110. If a CD is playing when the program is started, or when the drive
  111. number is changed, it obtains the current play location, and
  112. returns to it after finding the maximum times.
  113.  
  114. Since basic is too slow to read the Disc Table of Contents (TOC)
  115. which lists the track times, it finds the maximum Minutes &
  116. Seconds through use of a clever "hack", by attempting play at 99
  117. minutes, then trying lower numbers until it sees the drive in
  118. play mode, then counts up until it goes to pause again.  At that
  119. point, it backs up two seconds and reads the track number on the
  120. disc.  Doing it this way allows you to have a player in basic
  121. with Source code.  The Forth program just reads the TOC and gets
  122. the times, but Forthplay doesn't have all of the Romplay
  123. features.
  124.  
  125. Times are used for display and skip wrap-around, while the
  126. maximum track number is needed for other operations.
  127.  
  128. If your host is very fast, you may need to use slow mode or add
  129. some delay loops to let the max time routine operate properly.
  130.  
  131. On ROM tracks the times change to yellow or light red.
  132.  
  133. The drive remembers only the last start/end time given to it by
  134. the program.  It will continue to play when the program is
  135. exited.
  136.  
  137. The drive is intended for data transfer and it performs audio
  138. functions only through host control and monitoring of its
  139. operation.
  140.  
  141.  
  142. Forthplay Commands:
  143.  
  144. Play       ( n n Play ) ( n Play ) ( play )
  145.         n is starting track n is ending track, ie:   2 5 Play
  146.         n is starting and ending track,  ie:  3 play
  147.         Play plays tracks 1-99, or to disc end
  148. Tune       Shows current Track and Index, if playing
  149. Time       Time in Track and Time within entire disc
  150. Mode       Reports Drive Status, except busy and lock
  151. TOC        Generally shows Table of Contents for installed disc
  152.         List of tracks, start times, and end time of disc
  153. Channels   Reports status of mute bits to be used at next play
  154. Stereo     Enable both channels at next play
  155. Left       Enable left channel at next play
  156. Right      Enable right channel at next play
  157. Mute       Mute channels at next play
  158. Eject      Ejects disc when not locked
  159. Accept     Closetray
  160. CloseTray  Accepts disc - CDR1503S only
  161. Lock       Disables front panel Open/Eject button
  162. Unlock     Enables Open/Eject button on drive
  163. Drive      ( n Drive )  Sets Drive (0-3) for commands, ie: 3
  164. Drive
  165. Drives     Reports active CD-ROM drives
  166. Romdrive   Reports current CD-ROM drive used for commands
  167. Xplay      ( n n n n n n xplay ) ( n n n xplay ) ( xplay)
  168.  Xplay     Extended play by min, sec, frame, to min, sec, frame
  169.         0 0 0 99 59 74 is default
  170.         0-6 arguments when stack is empty - if works strange
  171.            retry
  172.         Pause occurs when times are invalid
  173. Rplay      Replay last xplay, Stime & Etime Setting
  174. Stime      Set start location for repeat, must be playing disc
  175. Etime      Set end location for repeat
  176. Menu       Shows Command menu
  177. Bye        Exits immediately to DOS on active drive
  178. Credits    Resets Drive and I/O card to inital setting - shows   
  179.            opening
  180. Auto       Starts automatic play like Romplay - partial
  181.  
  182.  
  183. implementation
  184.  
  185.  
  186. Forthplay consists of words added to the F83 Forth language.
  187.  
  188. With Forthplay & F83 forth, the contents of the current line to
  189. the left of the cursor is read when Enter is pressed.  Correct
  190. typing errors with the Backspace key and retype the remainder of
  191. the line.  The editor you will be using is the one provided as
  192. part of this version of the language.
  193.  
  194. Type one of the commands on